package com.basin.common.core.response;

import lombok.Getter;

/**
 * @author: Sam ZHONG | sammy1997@aliyun.com
 */
@Getter
public enum RespCodeEnum {
    SUCCESS(200, "响应成功"),
    FAILURE(500, "响应失败"),
    ;

    private final int code;
    private final String message;

    RespCodeEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }
}
